package com.ming.dao;



import com.ming.pojo.Vehicle;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Xu,
 * @data 2021/3/17，
 * @time 20:20
 */
@Repository
@Mapper
public interface VehicleMapper {
    public int addVehicle(Vehicle vehicle);

    public int deleteVehicle(int vid);

    public int updateVehicle(Vehicle vehicle);

    public Vehicle queryVehicleById(int vid);

    public List<Vehicle> queryVehicles();

    Integer getMId();
}
